package cn.tedu.test.threadLocal;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class MyService {
    public void getDetail() {
        log.info("测试业务 测试执行业务逻辑");
        //想要拿到 filter里的name
        String name = MyThreadLocalUtils.get();
        log.info("下游 业务拿到上游传参:{}",name);
        log.info("测试业务 测试执行业务逻辑结束");
    }
}
